package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 物料订单发货对象 w_order_deliver
 *
 * @author ruoyi
 * @date 2022-01-07
 */
@Data
@ApiModel(value = "WOrderDeliver", description = "物料订单发货对象 w_order_deliver")
public class WOrderDeliver extends BaseEntity{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty(value = "${comment}")
    private Long id;

    /** 订单ID */
    @Excel(name = "订单ID")
    @ApiModelProperty(value = "订单ID")
    private Long orderId;

    /** 客户ID */
    @Excel(name = "客户ID")
    @ApiModelProperty(value = "客户ID")
    private Long customerId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    @ApiModelProperty(value = "客户名称")
    private String customerName;

    /** 公司ID 也是部门id */
    @Excel(name = "公司ID 也是部门id")
    @ApiModelProperty(value = "公司ID 也是部门id")
    private Long deptId;

    /** 公司名称 */
    @Excel(name = "公司名称")
    @ApiModelProperty(value = "公司名称")
    private String deptName;

    /** 总良品产品数量 */
    @Excel(name = "总良品产品数量")
    @ApiModelProperty(value = "总良品产品数量")
    private Long goodNumber;

    /** 总不良品产品数量 */
    @Excel(name = "总不良品产品数量")
    @ApiModelProperty(value = "总不良品产品数量")
    private Long badNumber;

    /** 快递名称 */
    @Excel(name = "快递名称")
    @ApiModelProperty(value = "快递名称")
    private String expressName;

    /** 快递单号 */
    @Excel(name = "快递单号")
    @ApiModelProperty(value = "快递单号")
    private String expressNo;

    public void setId(Long id){
        this.id = id;
    }

    public Long getId(){
        return id;
    }
    public void setOrderId(Long orderId){
        this.orderId = orderId;
    }

    public Long getOrderId(){
        return orderId;
    }
    public void setCustomerId(Long customerId){
        this.customerId = customerId;
    }

    public Long getCustomerId(){
        return customerId;
    }
    public void setCustomerName(String customerName){
        this.customerName = customerName;
    }

    public String getCustomerName(){
        return customerName;
    }
    public void setDeptId(Long deptId){
        this.deptId = deptId;
    }

    public Long getDeptId(){
        return deptId;
    }
    public void setDeptName(String deptName){
        this.deptName = deptName;
    }

    public String getDeptName(){
        return deptName;
    }
    public void setGoodNumber(Long goodNumber){
        this.goodNumber = goodNumber;
    }

    public Long getGoodNumber(){
        return goodNumber;
    }
    public void setBadNumber(Long badNumber){
        this.badNumber = badNumber;
    }

    public Long getBadNumber(){
        return badNumber;
    }
    public void setExpressName(String expressName){
        this.expressName = expressName;
    }

    public String getExpressName(){
        return expressName;
    }
    public void setExpressNo(String expressNo){
        this.expressNo = expressNo;
    }

    public String getExpressNo(){
        return expressNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderId", getOrderId())
            .append("customerId", getCustomerId())
            .append("customerName", getCustomerName())
            .append("deptId", getDeptId())
            .append("deptName", getDeptName())
            .append("goodNumber", getGoodNumber())
            .append("badNumber", getBadNumber())
            .append("expressName", getExpressName())
            .append("expressNo", getExpressNo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
